gdk: Convert mouse position to doubles, add new getters
authorAlexander Larsson <alexl@redhat.com>
Wed, 3 Jul 2013 09:52:58 +0000 (11:52 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 3 Jul 2013 12:39:25 +0000 (14:39 +0200)
commite8b38fedbd8961df4aaaa75b122a06ddc68e75f2
treef8543ff9715a6f480e1bc645268844455ed3df2e
parent867ba1df27b9ed27d2d3ed6d43b536484635da18
gdk: Convert mouse position to doubles, add new getters

We've long had double precision mouse coordinates on wayland (e.g.
when rotating a window) but with the new scaling we even have it on
X (and, its also in Xinput2), so convert all the internal mouse/device
position getters to use doubles and add new accessors for the
public APIs that take doubles instead of ints.
23 files changed:
gdk/broadway/gdkdevice-broadway.c
gdk/broadway/gdkwindow-broadway.c
gdk/gdkdevice.c
gdk/gdkdevice.h
gdk/gdkdeviceprivate.h
gdk/gdkdisplay.c
gdk/gdkinternals.h
gdk/gdkoffscreenwindow.c
gdk/gdkwindow.c
gdk/gdkwindow.h
gdk/gdkwindowimpl.h
gdk/quartz/gdkdevice-core-quartz.c
gdk/quartz/gdkwindow-quartz.c
gdk/wayland/gdkdevice-wayland.c
gdk/wayland/gdkscreen-wayland.c
gdk/wayland/gdkwindow-wayland.c
gdk/win32/gdkdevice-virtual.c
gdk/win32/gdkdevice-win32.c
gdk/win32/gdkdevice-wintab.c
gdk/win32/gdkwindow-win32.c
gdk/x11/gdkdevice-core-x11.c
gdk/x11/gdkdevice-xi2.c
gdk/x11/gdkwindow-x11.c